package com.four.user.dao;

import com.four.user.entity.City;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guli.common.vo.CityVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gs
 * @since 2021-12-22
 */
public interface CityMapper extends BaseMapper<City> {

    /**
     * 查询第一级地址省
     * @param i
     * @return
     */
    List<CityVo> getTreeOne(@Param("i") int i);
}
